package com.supermap.dataservice.rsm;

import com.alibaba.dubbo.config.annotation.Service;
import com.supermap.dataservice.rsm.service.RsmGridDataService;
import com.supermap.dataservice.util.JSONUtil;
import com.supermap.dubbo.api.grid.RsmGridService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author xiaolu
 * @date 2018/9/5 上午10:55
 */
@Service
public class RsmGridServiceImpl implements RsmGridService {

    @Autowired
    RsmGridDataService gridDataService;

    @Override
    public JSONUtil getRsmDataByLocation(double lon, double lat, String date, int deep, int valid, int adminCode) {
        return gridDataService.getRsmDataByLocation(lon, lat, date, deep, valid, adminCode);
    }
}
